package com.sailorj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SysLog {
    private Integer id;

    private Integer userId;

    private String userName;

    @JsonFormat(pattern ="yyyy- MM- dd HH:mm:ss")
    private Date createrTime;

    private String classesName;

    private String methodsName;

    private String paramses;

    private String remark;

    private String ip;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Date getCreaterTime() {
        return createrTime;
    }

    public void setCreaterTime(Date createrTime) {
        this.createrTime = createrTime;
    }

    public String getClassesName(String className) {
        return classesName;
    }

    public void setClassesName(String classesName) {
        this.classesName = classesName == null ? null : classesName.trim();
    }

    public String getMethodsName() {
        return methodsName;
    }

    public void setMethodsName(String methodsName) {
        this.methodsName = methodsName == null ? null : methodsName.trim();
    }

    public String getParamses() {
        return paramses;
    }

    public void setParamses(String paramses) {
        this.paramses = paramses == null ? null : paramses.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }
}